/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023.
 * Description: integrity enabled.
 * Author: zhangguangzhi
 * Create: 2023-11-6
 */

#ifndef INTEGRITY_ENABLED_H
#define INTEGRITY_ENABLED_H

#ifdef CONFIG_EULEROS_IMA_DIGEST_LIST
extern bool is_integrity_enabled(void);
#else
static inline bool is_integrity_enabled(void)
{
	return true;
}
#endif /* CONFIG_EULEROS_IMA_DIGEST_LIST */

#endif
